<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Wally The Sentry Bot: MegaMan/p2anim.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Wally The Sentry Bot
   &#160;<span id="projectnumber">0.2</span>
   </div>
   <div id="projectbrief">A silly Arduino project to play with sensors, Xbees and a Peggy 2.0 pegboard</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('p2anim_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Defines</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">MegaMan/p2anim.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_mega_man_8h_source.html">MegaMan.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for p2anim.h:</div>
<div class="dyncontent">
<div class="center"><img src="p2anim_8h__incl.png" border="0" usemap="#_mega_man_2p2anim_8h" alt=""/></div>
<map name="_mega_man_2p2anim_8h" id="_mega_man_2p2anim_8h">
<area shape="rect" id="node3" href="_mega_man_8h.html" title="MegaMan.h" alt="" coords="28,83,119,112"/></map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="p2anim_8h__dep__incl.png" border="0" usemap="#_mega_man_2p2anim_8hdep" alt=""/></div>
<map name="_mega_man_2p2anim_8hdep" id="_mega_man_2p2anim_8hdep">
<area shape="rect" id="node3" href="_mega_man_8ino.html" title="Control module for Peggy. Creates animations and graphics for Peggy as well as playing audio via MP3 ..." alt="" coords="5,83,165,112"/><area shape="rect" id="node5" href="p2anim_8cpp.html" title="MegaMan/p2anim.cpp" alt="" coords="189,83,339,112"/></map>
</div>
</div>
<p><a href="p2anim_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga88866375a97efd9911514c81c87d5929"></a><!-- doxytag: member="p2anim.h::getRightN" ref="ga88866375a97efd9911514c81c87d5929" args="(pixelByte)" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>getRightN</b>(pixelByte)&#160;&#160;&#160;(pixelByte &amp; 0x0F)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9d44d6425f8227b6cbefb103eb8a3fa5"></a><!-- doxytag: member="p2anim.h::getLeftN" ref="ga9d44d6425f8227b6cbefb103eb8a3fa5" args="(pixelByte)" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>getLeftN</b>(pixelByte)&#160;&#160;&#160;(pixelByte &gt;&gt; 4 &amp; 0x0F)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab304dddbd1678551085bc66d54776d90"></a><!-- doxytag: member="p2anim.h::setRightN" ref="gab304dddbd1678551085bc66d54776d90" args="(buffer, pixelByte)" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>setRightN</b>(buffer, pixelByte)&#160;&#160;&#160;buffer = (buffer &amp; 0xF0 | (pixelByte &amp; 0x0F))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga7417764fac912650a002010fbb4d02d7"></a><!-- doxytag: member="p2anim.h::setLeftN" ref="ga7417764fac912650a002010fbb4d02d7" args="(buffer, pixelByte)" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>setLeftN</b>(buffer, pixelByte)&#160;&#160;&#160;buffer = (buffer &amp; 0x0F| (pixelByte &lt;&lt; 4 &amp; 0xF0))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga23569b6fb24ec4bd1583b2ee506df91b"></a><!-- doxytag: member="p2anim.h::joinNibbles" ref="ga23569b6fb24ec4bd1583b2ee506df91b" args="(pixelByte, lsbPixel, msbPixel)" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>joinNibbles</b>(pixelByte, lsbPixel, msbPixel)&#160;&#160;&#160;pixelByte = (lsbPixel &amp; 0x0F| msbPixel &lt;&lt; 4 &amp; 0xF0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga73a4a57fa336ffb95ed7d58e718b2e3f"></a><!-- doxytag: member="p2anim.h::scrollDelay" ref="ga73a4a57fa336ffb95ed7d58e718b2e3f" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___mega_man.html#ga73a4a57fa336ffb95ed7d58e718b2e3f">scrollDelay</a>&#160;&#160;&#160;40</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">speed of scroll - higher is slower <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga7d23518d759519cde9b955735701ad46"></a><!-- doxytag: member="p2anim.h::FRAME_BUFFER_SIZE" ref="ga7d23518d759519cde9b955735701ad46" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>FRAME_BUFFER_SIZE</b>&#160;&#160;&#160;325</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga54a5e83cb11dd70f3a33fb1d73a6c42b"></a><!-- doxytag: member="p2anim.h::p2animRomantic" ref="ga54a5e83cb11dd70f3a33fb1d73a6c42b" args="(void)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>p2animRomantic</b> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gadd8da7ba49a1cd121182231ce65d956b"></a><!-- doxytag: member="p2anim.h::p2animScrollText" ref="gadd8da7ba49a1cd121182231ce65d956b" args="(char *textString)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>p2animScrollText</b> (char *textString)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga49d8735620889d7e56e1b166c36bc8c2"></a><!-- doxytag: member="p2anim.h::putPixelBuffer" ref="ga49d8735620889d7e56e1b166c36bc8c2" args="(uint8_t x, uint8_t y, uint8_t gradient, uint8_t columns_scrolled)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>putPixelBuffer</b> (uint8_t x, uint8_t y, uint8_t gradient, uint8_t columns_scrolled)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga7e515964a07e1dd328f031505534831a"></a><!-- doxytag: member="p2anim.h::leftShiftScreen" ref="ga7e515964a07e1dd328f031505534831a" args="(uint8_t yOffsetTop, uint8_t yOffsetBottom)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>leftShiftScreen</b> (uint8_t yOffsetTop, uint8_t yOffsetBottom)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga87b7f86895ffe46be5a9312322b5bfda"></a><!-- doxytag: member="p2anim.h::rightShiftScreen" ref="ga87b7f86895ffe46be5a9312322b5bfda" args="(uint8_t yOffsetTop, uint8_t yOffsetBottom)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>rightShiftScreen</b> (uint8_t yOffsetTop, uint8_t yOffsetBottom)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9578f6b4df384f8a656854251b553f77"></a><!-- doxytag: member="p2anim.h::downShiftScreen" ref="ga9578f6b4df384f8a656854251b553f77" args="(void)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>downShiftScreen</b> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1d0a846d46e9113d065b75867f95a2b0"></a><!-- doxytag: member="p2anim.h::upShiftScreen" ref="ga1d0a846d46e9113d065b75867f95a2b0" args="(void)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>upShiftScreen</b> (void)</td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf33e8a5fc100e8d481f1b7eaf3384bbd"></a><!-- doxytag: member="p2anim.h::frameBuffer" ref="gaf33e8a5fc100e8d481f1b7eaf3384bbd" args="[FRAME_BUFFER_SIZE]" -->
uint8_t&#160;</td><td class="memItemRight" valign="bottom"><b>frameBuffer</b> [FRAME_BUFFER_SIZE]</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"></div></div><!-- contents -->
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="p2anim_8h.html">p2anim.h</a>      </li>

    <li class="footer">Generated on Thu May 24 2012 00:05:01 for Wally The Sentry Bot by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
